import { apiRequestPost } from '../globalApi.js'
/**
 * 查询所有流程    
 */
export const apiQueryAllProcesses =(params)=>{
    return  apiRequestPost('/bpm-service/BpmProcessDef/queryAllProcesses', params)
}
/**
 * 查询用户列表
 */
export const apiQueryUser =(params)=>{
    return  apiRequestPost('/bpm-service/BpmUser/queryUser', params)
}
/**
 * 查询流程任务节点
 */
export const apiQueryTask =(params)=>{
    return  apiRequestPost('/bpm-service/ProcInst/queryTask', params)
}
/**
 * 查询用户部门
 */
export const apiQueryDept =(params)=>{
    return  apiRequestPost('/bpm-service/BpmUser/queryDept', params)
}

/**
 * 应用系统查询
 */
export const apiQueryApp =(params)=>{
    return  apiRequestPost('/bpm-service/AppCfg/queryApp', params)
}